package com.mall.commons.result;

/**
 * @description: TODO
 * @author: jiaolei
 * @date: 2021/12/12 21:13
 */
public class GoodsResponseData<T> {
    private boolean success;

    private String message; //消息

    private int code;

    private T result; //返回的数据

    private Long timestamp;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
